home *** CD-ROM | disk | FTP | other *** search
- .MODEL SMALL
- .STACK 100h
- .DATA
- Data_1 DB 'This is TEST # 1. <PRESS ANY KEY TO CONTINUE>',13,10,'$'
- Data_2 DB 0BAh,00,00,0B4h,09,0CDh,021h,0C3h
-
- .CODE
-
- start:
- mov ax,@data
- mov ds,ax
- cld
- lea si,Data_2
- lea di,cs:[Data_3]
- dec di
- mov cx,8
- loc_1:
- lodsb ;ds:[si]->al
- mov cs:[di],al
- inc di
- loop loc_1
-
- mov al,0
- cmp al,0
- je loc_2
-
- ;--set cursor--
- mov ah,2
- mov bh,0
- mov dh,0Ah ;row number
- mov dl,0Fh ;column number
- int 10h
- loc_2:
-
- call _Test
- mov ah,0
- int 16h
-
- int 8
-
- mov ah,4ch
- int 21h
-
- ;▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
- ;
- ;▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
- _Test PROC
- ret
- Data_3 db 7 dup(?)
- _Test ENDP
-
- END start
-
-